import Vue from 'vue'
import Router from 'vue-router'
import guide from '@/components/guide/guide'
import guide1 from '@/components/guide/guide1'
import guide2 from '@/components/guide/guide2'
import guide3 from '@/components/guide/guide3'
import login from '@/main/login'
Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'guide',
      component: guide,
      children: [{
        name: 'default',
        path: '',
        component: guide1
      }, {
        name: 'page1',
        path: '1',
        component: guide1
      }, {
        name: 'page2',
        path: '2',
        component: guide2
      }, {
        name: 'page3',
        path: '3',
        component: guide3
      }]
    }, {
      name: 'login',
      path: '/login',
      component: login
    }]
})
